package com.csu.common.vo;

import java.util.Map;

import com.wordnik.swagger.annotations.ApiModel;
import com.wordnik.swagger.annotations.ApiModelProperty;


/** 
 * @项目名称：express
 * @类名称：RouteMatrixResultVo
 * @类描述：
 * @创建人：Tangc
 * @创建时间：2017年10月28日 下午9:38:46
 * @company:
 */
@ApiModel(description = "批量算路返回结果对象")
public class RouteMatrixResultVo
{
    @ApiModelProperty(value = "状态：0成功；1服务器错误 ；2参数错误")
    private Integer status;
    
    @ApiModelProperty(value = "对status的中文描述")
    private String message;
    
    
    @ApiModelProperty(value = "数组中的每个元素代表一个起点和一个终点的检索结果")
    private String[] result;
    
    
    @ApiModelProperty(value = "text:线路距离的文本描述;value:线路距离的数值,单位为米")
    private Map<String,Double> distance;
    
    
    @ApiModelProperty(value = "text:路线耗时的文本描述;value:路线耗时的数值,单位为秒")
    private Map<String,Double> duration;


    /**
     * @return the status
     */
    public Integer getStatus()
    {
        return status;
    }


    /**
     * @param status the status to set
     */
    public void setStatus(Integer status)
    {
        this.status = status;
    }


    /**
     * @return the message
     */
    public String getMessage()
    {
        return message;
    }


    /**
     * @param message the message to set
     */
    public void setMessage(String message)
    {
        this.message = message;
    }


    /**
     * @return the result
     */
    public String[] getResult()
    {
        return result;
    }


    /**
     * @param result the result to set
     */
    public void setResult(String[] result)
    {
        this.result = result;
    }


    /**
     * @return the distance
     */
    public Map<String, Double> getDistance()
    {
        return distance;
    }


    /**
     * @param distance the distance to set
     */
    public void setDistance(Map<String, Double> distance)
    {
        this.distance = distance;
    }


    /**
     * @return the duration
     */
    public Map<String, Double> getDuration()
    {
        return duration;
    }


    /**
     * @param duration the duration to set
     */
    public void setDuration(Map<String, Double> duration)
    {
        this.duration = duration;
    }
    
    
}
